package com.sgb.kjwl.view.ui.activity.transport.driver.goods;

import com.sgb.kjwl.repository.TransportRepertory;
import com.swgk.core.base.BaseViewModel;

/**
 * Created by harisucici on 2020/4/7
 * Class description:
 */
public class GoodsListModel extends BaseViewModel {

    private GoodsListActivity activity;
    private TransportRepertory repertory;

    public GoodsListModel(GoodsListActivity activity3, TransportRepertory repertory) {
        this.activity = activity3;
        this.repertory = repertory;
    }

    //车辆信息
   /* public void getCarsInfoList(){
        List<CarsInfoEntity3> list = new ArrayList<>();
        for(int i=0;i<20;i++){
            CarsInfoEntity3 entity = new CarsInfoEntity3();
            entity.setCarId(i);
            entity.setCarimg("https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=4002707394,2738740472&fm=11&gp=0.jpg");
            entity.setCarNum("京A0000"+i);
            entity.setCarType("红旗/防弹/"+i+"米");
            entity.setDestLocation("意向地: 上海 浦东新区");
            entity.setDistanceLength(i*5+"000KM");
            entity.setDriverName("王璐");
            list.add(entity);
        }

        activity.getCarsInfoData(list);
    }*/

    //获取省市城市数据
    /*public void getProvinceData() {

        List<ProvinceEntity> list = new ArrayList<>();
        for (int i = 0; i < 30; i++) {
            ProvinceEntity entity = new ProvinceEntity();
            entity.setShortName("北京_" + i);
            entity.setId(i);
            list.add(entity);
        }

        activity.getProvinceData(list);
    }*/
}